package com.lvmama.rhino.pojo.monitor;

import java.util.Date;

import com.lvmama.rhino.pojo.BasePojo;

/**
 * 失败接口监控
 * @author wxlizhi
 *
 */
public class MonitorApiFailure extends BasePojo{

    /**
     * 
     */
    private static final long serialVersionUID = 7383476763160233724L;
    
    /**
     * 接口名
     */
    private String apiName;
    
    /**
     * 接口版本
     */
    private String apiVersion;
    
    /**
     * 方法
     */
    private String method;
    
    /**
     * 运营商
     */
    private String operators;
    
    /**
     * 网络类型 2g,3g,4g,wifi,NONE
     */
    private String networkType;
    
    /**
     * 省份
     */
    private String province;
    
    /**
     * APP类型
     */
    private String appType;
    
    /**
     * 失败返回的相关code码
     */
    private String failureCode;
    
    /**
     * 异常类型(1-接口异常,2-HTTP异常)
     */
    private String failuerType;
    
    /**
     * 失败次数
     */
    private Long amount;
    
    /**
     * 操作时间（年月日）
     */
    private Date operDate;

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public String getApiVersion() {
        return apiVersion;
    }

    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getOperators() {
        return operators;
    }

    public void setOperators(String operators) {
        this.operators = operators;
    }

    public String getNetworkType() {
        return networkType;
    }

    public void setNetworkType(String networkType) {
        this.networkType = networkType;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getFailureCode() {
        return failureCode;
    }

    public void setFailureCode(String failureCode) {
        this.failureCode = failureCode;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getFailuerType() {
        return failuerType;
    }

    public void setFailuerType(String failuerType) {
        this.failuerType = failuerType;
    }

    public Date getOperDate() {
        return operDate;
    }

    public void setOperDate(Date operDate) {
        this.operDate = operDate;
    }
    
}
